<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<jsp:include page="/jsp/loginCheck.jsp" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<s:head theme="ajax" calendarcss="calendar-green"/>  
	
	<title>Usuários</title>
	<link href="../css/estiloframes.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="../css/ui.all.css" type="text/css"/>
	
</head>
	
<body>
	<div id="corpo"><br />
		<p class="titulo_texto">Relatórios - Usuários</p>
		
		<s:form action="Relatorios">
			<s:hidden name="searchBean.id_grupo" value="1"/>
			<table align="center" width="542" height="96" border="0">
			  <tr>
			    <td width="269"><label for="usuarioRelatorio"><s:text name="Usuário:"/></label>
			    	<s:select name="searchBean.id_user" label="Usuario" list="listUser" listKey="index" listValue="value" headerKey="-1" headerValue="Usuario" cssClass="textboxes"/>			    				        
			    </td>
			    <td width="263"><label for="pesquisaRelatorio"><s:text name="Pesquisa:"/></label>
				    <s:select name="searchBean.id_search" label="Pesquisa" list="listPesq" listKey="index" listValue="value" headerKey="-1" headerValue="Pesquisa" cssClass="textboxes"/>				    			       
			    </td>
			  </tr>
			  <tr>
			    <td>
			    	<label for="inicio"><s:text name="período:"/></label>
			    	<s:datetimepicker name="searchBean.init_period" cssClass="textboxes" disabled="true" displayFormat="dd/MM/yyyy"/>			    	
			    </td>
			    <td>
			    	<label for="final"><s:text name="até"/></label>
			    	<s:datetimepicker name="searchBean.end_period" cssClass="textboxes" disabled="true" displayFormat="dd/MM/yyyy"/>
			    </td>
			  </tr>
			</table>
			<s:submit action="getGraphicRelatorios" type="image" src="../images/btn/zoom.png" cssClass="clicavel" cssStyle="cursor:pointer; position:absolute; left: 580px; top: 118px;" align="center"/>			
		</s:form>
		<s:if test="functionType == 'viewGraphic'">
			<p><img src="../images/grafico.png" /></p>
		</s:if>
		
	</div>
</body>
</html>
